{include file="header.tpl" title="Them moi deptlist "}
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="3"><hr></td>
</tr>
    
  <!--
  <tr>
  <td nowrap="nowrap">{$lbl_LOAIBC}</td>
    <td><select name="LOAIBC" size="1"  >
      {foreach from=$LOAIBC key=k item=v}
	  	<option value="{$k}" {if $k eq $activeLOAIBC} selected="selected" {/if} >{$v}</option>
	  {/foreach}
    </select></td>
    <td nowrap="nowrap" width="25%">{$lbl_NGAYBC}</td>
    <td><input name="NGAYBC" id="NGAYBC" type="text" style="background:{$colorNGAYBC}" value="{$NGAYBC}" size="20" readonly="readOnly" onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)"/></td>
  </tr>
   
   <tr>
     <td nowrap="nowrap">{$lbl_LOAITIEN}</td>
     <td colspan="3"><span style="color:#FF0000">
       <select name="LOAITIEN" id="LOAITIEN" size="1">
         {foreach from=$LOAITIEN item=curr}
		      <option value="{$curr}" {if $curr eq $activeLOAITIEN} selected="selected" {/if} >{$curr}</option>				
		{/foreach}
       </select>
     </span></td>
  </tr>
  -->
  
  <tr>
    <td width="25%"></td>
    <td colspan="3">		</td>
  </tr>
   <tr>
    <td colspan="4"></td>
    </tr>
<tr>
<td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td nowrap="nowrap" width="24%">{$lbl_BRNCODE}</td>
    <td colspan="3" align="left"><select name="BRNCODE">
      
      
		 {foreach from=$BRNCODE key=k item=v}
	  	
      
      <option value="{$k}" {if $k eq $activeBRNCODE} selected="selected" {/if} >{$k} - {$v}</option>
      
      
	  {/foreach}
    
    
    </select>    </td>
  </tr>
  <tr>
    <td height="26">{$lbl_DEPTCD}</td>
    <td colspan="2" style="color:#FF0000"><input name="DEPTCD" id="DEPTCD" type="text" style="background:{$colorDEPTCD}" value="{$DEPTCD}" size="20" maxlength="2" />
      *      </td>
	   <td width="16%">&nbsp;</td>
    <td width="0%" nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_DEPTNAME}</td>
    <td colspan="2"><span style="color:#FF0000">
      <input name="DEPTNAME" id="DEPTNAME" type="text" style="background:{$colorDEPTNAME}" value="{$DEPTNAME}" size="50" maxlength="50" />
      *</span></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_REMARKS}</td>
    <td colspan="2"><input name="REMARKS" id="REMARKS" type="text" style="background:{$colorREMARKS}" value="{$REMARKS}" size="50" maxlength="50"  /></td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_MANAGER_CODE}</td>
    <td colspan="2"><input name="MANAGER_CODE" id="MANAGER_CODE" type="text" style="background:{$colorMANAGER_CODE}" value="{$MANAGER_CODE}" size="20" maxlength="10" />
      <input type="button" onclick="mywindow = window.open('master_id.php?name=MANAGER_CODE-MANAGER_NAME', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat3" id="replacement_binoculars" value="     " />
      <input name="MANAGER_NAME" id="MANAGER_NAME" type="text" style="background:{$colorMANAGER_NAME}" value="{$MANAGER_NAME}" size="31" maxlength="50" readonly="readonly" /></td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_OPENDATE}</td>
    <td colspan="2"><span style="color:#FF0000">
      <input name="OPENDATE" type="text" id="OPENDATE" style="background:{$colorOPENDATE}" onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)" value="{$OPENDATE}" size="25">
    </span></td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_LICENC}</td>
    <td colspan="2"><input name="LICENCE" id="LICENCE" type="hidden" style="background:{$colorLICENCE}" value="{$LICENCE}" size="50" maxlength="50"></td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_VCSEQNO}</td>
    <td width="34%"><input name="VCSEQNO" id="VCSEQNO" type="text" style="background:{$colorVCSEQNO}" value="{$VCSEQNO}" size="20" maxlength="6" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" /></td>
    <td width="26%">&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_COSTID}</td>
    <td><input name="COSTID" id="COSTID" type="text" style="background:{$colorCOSTID}" value="{$COSTID}" size="20" maxlength="10" />
      <input type="button" onclick="mywindow = window.open('costid_id.php?name=COSTID', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findcostid" id="replacement_binoculars" value="     " /></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_ENABLED}</td>
    <td><select name="ENABLED" >
      <option value=""></option>
      
      
		 {foreach from=$ENABLED key=k item=v} 	 
      
      
      <option value="{$k}" {if $k eq $activeENABLED} selected="selected" {/if} >{$k} - {$v}</option>
      
      
	  {/foreach} 
    
    
    </select></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_DEPCRD}</td>
    <td><input name="DEPCRD" id="DEPCRD" type="text" style="background:{$colorDEPCRD}" value="{$DEPCRD}" size="20" maxlength="10" onkeyup="this.value=this.value.toUpperCase().replace(' ','')" /></td>
    <td>&nbsp;</td>
    <td nowrap="nowrap">&nbsp;</td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_SUBBRNCODE}</td>
    <td><input name="SUBBRNCODE" id="SUBBRNCODE" type="text" style="background:{$colorSUBBRNCODE}" value="{$SUBBRNCODE}" size="20" maxlength="2" onkeyup="this.value=this.value.toUpperCase().replace(' ','')"  /></td>
    <td>{$lbl_TCD}</td>
    <td nowrap="nowrap"><select name="TCD" id="TCD" >
      <option value=""></option>
            
		 {foreach from=$cbo_TCD key=k item=v}      
      
      <option value="{$k}" {if $k eq $TCD} selected="selected" {/if} >{$k} - {$v}</option>
            
	  {/foreach}    
    
    </select></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_CTRID}</td>
    <td><input name="CTRID" id="CTRID" type="text" style="background:{$colorCTRID}" value="{$CTRID}" size="20" maxlength="3"  onkeyup="this.value=this.value.toUpperCase().replace(' ','')"  /></td>
    <td>{$lbl_STATUS}</td>
    <td nowrap="nowrap"><select name="STATUS" id="STATUS">
      
      
		 {foreach from=$cbo_STATUS item=v} 	 
      
      
      <option value="{$v}" {if $v eq $STATUS} selected="selected" {/if} >{$v}</option>
      
      
	  {/foreach} 
    
    
    </select>    </td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_ADDRESS}</td>
    <td><input name="ADDRESS" id="ADDRESS" type="text" style="background:{$colorADDRESS}" value="{$ADDRESS}" size="50" maxlength="50"  /></td>
    <td>{$lbl_STATUSVO}</td>
    <td nowrap="nowrap"><select name="STATUSVO" id="STATUSVO">
     {foreach from=$cbo_STATUSVO item=v} 	 
     <option value="{$v}" {if $v eq $STATUSVO} selected="selected" {/if} >{$v}</option>
     {/foreach} 
</select>    </td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_PHONE}</td>
    <td><input name="PHONE" type="text" id="PHONE" style="text-align:left;" onkeypress="return numberOnly(event);" value="{$PHONE}" size="20" maxlength="50" /></td>
    <td>{$lbl_FAX}</td>
    <td nowrap="nowrap"><input name="FAX" id="FAX" type="text" style="background:{$colorFAX}" value="{$FAX}" size="20" maxlength="50" onkeypress="return numberOnly(event);"  /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_CSHACT}</td>
    <td colspan="3"><input name="CSHACT" id="CSHACT" type="text" style="background:{$colorCSHACT}" value="{$CSHACT}" size="20" maxlength="10" />
      <span style="color:#FF0000">*</span>
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=CSHACT', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat2" id="replacement_binoculars" value="     " /></td>
  </tr>
  <tr>
    <td nowrap="nowrap">{$lbl_CSHACT_X}</td>
    <td colspan="3"><input name="CSHACT_X" type="text" id="CSHACT_X" style="text-align:left;" value="{$CSHACT_X}" size="20" maxlength="10" />
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=CSHACT_X', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat22" id="replacement_binoculars" value="     " /></td>
  </tr>
  <tr>
    <td height="23" nowrap="nowrap">{$lbl_CSHACT_Z}</td>
    <td colspan="3"><input name="CSHACT_Z" type="text" id="CSHACT_Z" style="text-align:left;" value="{$CSHACT_Z}" size="20" maxlength="10" />
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=CSHACT_Z', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat23" id="replacement_binoculars" value="     " /></td>
  </tr>
  <tr>
    <td height="23" nowrap="nowrap">{$lbl_MONETARY_FUND_STATUS}</td>
    <td colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td height="23" nowrap="nowrap">{$lbl_Managed_By_Emp_Code}</td>
    <td colspan="3">&nbsp;</td>
  </tr>

  <tr>
    <td nowrap="nowrap"><input type="button" value="{$themnhanh}" onclick="doListmenu();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
    <td colspan="3"><div style="visibility:hidden" id="brncodehidden">
	<select name="BRNCODE1" id="BRNCODE1" onchange="doListmenu();">
		 {foreach from=$BRNCODE key=k item=v}
	  	<option value="{$k}" {if $k eq $activeBRNCODE} selected="selected" {/if} >{$k} - {$v}</option>
	  {/foreach}
    </select>
	</div></td>
  </tr>
  <tr>
    <td colspan="4" nowrap="nowrap"><div id="content" class="tableContainer"></div></td>
    </tr>
  
</table>
</p>
<p>&nbsp;</p></td>
</tr>
<tr>
<td colspan="3" align="right">

<input type="submit" name="capnhat" value="{$ten_cap_nhat}"  class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"  /></td>
</tr>
<tr>
<td colspan="3">
<hr></td>
</tr>

<tr>
<td colspan="2" >
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
